package entity;

import java.util.Date;

public class User {
    private int uid;//用户编号
    private String uname;//用户名
    private String upassword;//用户密码
    private int usex;//性别
    private String uFace;//用户头像路径
    private String uRegTime;//用户注册时间
    private int utype;//用户类型:0为普通用户,1为版主
    private String uphone;//手机
    private String uemail;//邮箱

    public User() {
    }

    public User(String uname, int usex, String uphone, String uemail, String uFace) {
        this.uname = uname;
        this.usex = usex;
        this.uFace=uFace;
        this.uphone = uphone;
        this.uemail = uemail;
    }

    public User(String uname, String upassword, int usex, String uphone, String uemail) {
        this.uname = uname;
        this.upassword = upassword;
        this.usex = usex;
        this.uphone = uphone;
        this.uemail = uemail;
    }

    public String getuRegTime() {
        return uRegTime;
    }

    public void setuRegTime(String uRegTime) {
        this.uRegTime = uRegTime;
    }

    public String getUphone() {
        return uphone;
    }

    public void setUphone(String uphone) {
        this.uphone = uphone;
    }

    public String getUemail() {
        return uemail;
    }

    public void setUemail(String uemail) {
        this.uemail = uemail;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUpassword() {
        return upassword;
    }

    public void setUpassword(String upassword) {
        this.upassword = upassword;
    }

    public int getUsex() {
        return usex;
    }

    public void setUsex(int usex) {
        this.usex = usex;
    }

    public String getuFace() {
        return uFace;
    }

    public void setuFace(String uFace) {
        this.uFace = uFace;
    }


    public int getUtype() {
        return utype;
    }

    public void setUtype(int utype) {
        this.utype = utype;
    }
}
